﻿--[[
   @brief    game friend dialog
   @author   vincentlao
   @version  1.0
   @date     2015-12-03
--]]

game_friend_desc = 
{
    module_name = "game_friend",
    events = 
    {
        {
            lua_event = 
            {
                {
                    id = "group_event.SHOW_GAME_FRIEND_DIALOG",
                    callback = "game_friend_control.show"
                }
            },
            lua_file = "social\\game_friend\\control.lua"
        },
        {
            reg_service = 
            {
                {
                    id = "i_service_add_game_friend_wnd_is_show",
                    callback = "game_friend_control.is_show"
                },
                {
                    id = "i_service_add_game_friend_flush_data",
                    callback = "game_friend_control.flush_data"
                }
            },
            lua_file = "social\\game_friend\\control.lua"
        }
    },
}

desc_mgr.add(game_friend_desc)